package com.example.robertluozizhao.framecollectdemo.fragment;

import android.os.Bundle;
import androidx.annotation.Nullable;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.robertluozizhao.framecollectdemo.R;
import com.example.robertluozizhao.framecollectdemo.fragment.impl.FragmentNestImp;

import butterknife.ButterKnife;

/**
 * @author luo_zi_zhao
 * @version V1.0 当前版本描述信息
 * @FileName com.example.robertluozizhao.framecollectdemo.fragment
 * @date 2019/4/25 17:23
 */

public class TextFragmetManager03 extends BaseFragment implements FragmentNestImp.TextFragmentManagerContract {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_manager_text03, null);
        ButterKnife.bind(this, view);
        initView();
        return view;

    }

    private void initView() {
        TextFragmetManager03_01 textFragmetManager03_01 = new TextFragmetManager03_01();
        showFragment(textFragmetManager03_01);
    }

    @Override
    public int getFragmentGroupId() {
        return R.id.fl_fragment_group;
    }

}
